package com.youdoneed.community.forum.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.youdoneed.community.forum.entity.Forumsystemrecommenduser;

/**
 * 系统推荐关注用户服务接口
 * @author lid
 * @date 2017.6.16
 */
@Mapper
public interface ForumsystemrecommenduserMapper {
    int deleteByPrimaryKey(String forumSystemRecommendUserId);

    int insert(Forumsystemrecommenduser record);

    int insertSelective(Forumsystemrecommenduser record);

    Forumsystemrecommenduser selectByPrimaryKey(String forumSystemRecommendUserId);

    int updateByPrimaryKeySelective(Forumsystemrecommenduser record);

    int updateByPrimaryKey(Forumsystemrecommenduser record);
    
    List<Forumsystemrecommenduser> getAllRecommendUsers();
    
    int countTotalCommendUser();
    
    List<Forumsystemrecommenduser> queryRecommendUsers(@Param("nickname")String nickname,@Param("createDateS")String createdateS,@Param("createDateE")String createdateE);
    
}